
public class AutoControl_muster {
	public static void main(String[] args) {
		openWinExe();
//		openExe();
	}

	
	public static void openWinExe() {
		Runtime rn = Runtime.getRuntime();
		Process p = null;
		try {
			String command = "notepad";
			p = rn.exec(command);
		} catch (Exception e) {
			System.out.println("Error win exec!");
		}
	}

	public static void openExe() {
		Runtime rn = Runtime.getRuntime();
		Process p = null;
		try {
			p = rn.exec("\"D:/QQ2010.exe\"");
		} catch (Exception e) {
			System.out.println("Error exec!");
		}
	}
}